package com.ims.core.enums;

/**
 * 拆分规则顺序
 * 0    按货物明细顺序
 * 1    按最小张数
 * @author IMS
 */
public enum SplitSequence {
    BY_GOODS_DETAIL_ORDER(0, "按货物明细顺序"),
    BY_MINIMUM_NUMBER_OF_INVOICES(1, "按最小张数");

    private final int code;
    private final String name;

    SplitSequence(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}